%%
%% Copyright (C) 2017- by Chu Yanshuo <yanshuoc@gmail.com>
%%
%% This file is part of the hithesis package project.
%% ---------------------------------------------------
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3a
%% of this license or (at your option) any later version.
%% The latest version of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3a or later is part of all distributions of LaTeX
%% version 2004/10/01 or later.
%%


\input docstrip

\askforoverwritefalse
%\askonceonly
\showprogress
\keepsilent

\usedir{tex/latex/hithesis}

\preamble

This is a generated file.

Copyright (C) 2017-\the\year by Chu Yanshuo <yanshuoc@gmail.com>

This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3a
of this license or (at your option) any later version.
The latest version of this license is in:

http://www.latex-project.org/lppl.txt

and version 1.3a or later is part of all distributions of LaTeX
version 2004/10/01 or later.

To produce the documentation run the original source files ending with `.dtx'
through LaTeX.

\endpreamble

\declarepreamble\cfgpreamble

This is a generated file.

Copyright (C) 2017-\the\year by Chu Yanshuo <yanshuoc@gmail.com>

This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3a
of this license or (at your option) any later version.
The latest version of this license is in:

http://www.latex-project.org/lppl.txt

and version 1.3a or later is part of all distributions of LaTeX
version 2004/10/01 or later.

This is the configuration file of the hithesis package with LaTeX2e.

\endpreamble
\declarepreamble\istpreamble

This is a generated file.

Copyright (C) 2017-\the\year by Chu Yanshuo <yanshuoc@gmail.com>

This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either version 1.3a
of this license or (at your option) any later version.
The latest version of this license is in:

http://www.latex-project.org/lppl.txt

and version 1.3a or later is part of all distributions of LaTeX
version 2004/10/01 or later.

This is the configuration file of the hithesis package with LaTeX2e.

\endpreamble
%%  examples/
%%  ├── hitart
%%  │   ├── reportplus
%%  │   └── reports
%%  └── hitbook
%%      ├── chinese
%%      └── english
\generate{
    \file{\jobname book.cls}{\from{\jobname.dtx}{bookcls}}
    \file{examples/hitbook/chinese/\jobname book.cls}{\from{\jobname.dtx}{bookcls}}
    \file{examples/hitbook/english/\jobname book.cls}{\from{\jobname.dtx}{bookcls}}
    \file{\jobname art.cls}{\from{\jobname.dtx}{artcls}}
    \file{examples/hitart/reports/\jobname art.cls}{\from{\jobname.dtx}{artcls}}
    \file{\jobname artplus.cls}{\from{\jobname.dtx}{artpluscls}}
    \file{examples/hitart/reportplus/\jobname artplus.cls}{\from{\jobname.dtx}{artpluscls}}
    \usepreamble\cfgpreamble
    \file{\jobname book.cfg}{\from{\jobname.dtx}{bookcfg}}
    \file{examples/hitbook/chinese/\jobname book.cfg}{\from{\jobname.dtx}{bookcfg}}
    \file{examples/hitbook/english/\jobname book.cfg}{\from{\jobname.dtx}{bookcfg}}
    \file{\jobname art.cfg}{\from{\jobname.dtx}{artcfg}}
    \file{examples/hitart/reports/\jobname art.cfg}{\from{\jobname.dtx}{artcfg}}
    \file{examples/hitart/reportplus/\jobname art.cfg}{\from{\jobname.dtx}{artcfg}}
    \usepreamble\istpreamble
    \file{\jobname.ist}{\from{\jobname.dtx}{ist}}
    \file{examples/hitbook/chinese/\jobname.ist}{\from{\jobname.dtx}{ist}}
    \usepreamble\defaultpreamble\usepostamble\defaultpostamble
    \file{dtx-style.sty}{\from{\jobname.dtx}{dtx-style}}
    \file{examples/hitbook/chinese/\jobname.sty}{\from{\jobname.dtx}{hithesis-style}}
    \file{examples/hitbook/english/\jobname.sty}{\from{\jobname.dtx}{hithesis-style}}
}


\generate{
    \usepostamble\empty
    \file{\jobname.bst}{\from{\jobname.dtx}{bst}}
    \file{examples/hitbook/chinese/\jobname.bst}{\from{\jobname.dtx}{bst}}
    \file{examples/hitbook/english/\jobname.bst}{\from{\jobname.dtx}{bst}}
    \file{examples/hitart/reports/\jobname.bst}{\from{\jobname.dtx}{bst}}
    \file{examples/hitart/reportplus/\jobname.bst}{\from{\jobname.dtx}{bst}}
    \file{hitszthesis.bst}{\from{\jobname.dtx}{shenzhenbst}}
    \file{examples/hitbook/chinese/hitszthesis.bst}{\from{\jobname.dtx}{shenzhenbst}}
    \file{examples/hitbook/english/hitszthesis.bst}{\from{\jobname.dtx}{shenzhenbst}}
    \file{examples/hitart/reports/hitszthesis.bst}{\from{\jobname.dtx}{shenzhenbst}}
    \file{examples/hitart/reportplus/hitszthesis.bst}{\from{\jobname.dtx}{shenzhenbst}}
}

\edef\epspreamble{\perCent!PS-Adobe-3.0 EPSF-3.0}
\generate{\usepreamble\epspreamble
	\usepostamble\empty
	\file{hitlogo.eps}{\from{\jobname.dtx}{hitlogo}}
	\file{examples/hitbook/chinese/hitlogo.eps}{\from{\jobname.dtx}{hitlogo}}
	\file{examples/hitbook/english/hitlogo.eps}{\from{\jobname.dtx}{hitlogo}}
	\file{examples/hitart/reports/hitlogo.eps}{\from{\jobname.dtx}{hitlogo}}
	\file{examples/hitart/reportplus/hitlogo.eps}{\from{\jobname.dtx}{hitlogo}}
	\file{bthesistitle.eps}{\from{\jobname.dtx}{bthesistitle}}
	\file{examples/hitbook/chinese/bthesistitle.eps}{\from{\jobname.dtx}{bthesistitle}}
	\file{examples/hitbook/english/bthesistitle.eps}{\from{\jobname.dtx}{bthesistitle}}
	\file{examples/hitart/reports/bthesistitle.eps}{\from{\jobname.dtx}{bthesistitle}}
	\file{examples/hitart/reportplus/bthesistitle.eps}{\from{\jobname.dtx}{bthesistitle}}
  \file{shenzhenbthesistitle.eps}{\from{\jobname.dtx}{shenzhenbthesistitle}}
	\file{examples/hitbook/chinese/shenzhenbthesistitle.eps}{\from{\jobname.dtx}{shenzhenbthesistitle}}
	\file{examples/hitbook/english/shenzhenbthesistitle.eps}{\from{\jobname.dtx}{shenzhenbthesistitle}}
	\file{zfb.eps}{\from{\jobname.dtx}{zfb}}
	\file{examples/hitbook/chinese/zfb.eps}{\from{\jobname.dtx}{zfb}}
	\file{examples/hitbook/english/zfb.eps}{\from{\jobname.dtx}{zfb}}
	\file{examples/hitart/reports/zfb.eps}{\from{\jobname.dtx}{zfb}}
	\file{examples/hitart/reportplus/zfb.eps}{\from{\jobname.dtx}{zfb}}
}

\edef\epspreamble{\perCent!PS-Adobe-2.0 EPSF-1.2}
\generate{\usepreamble\epspreamble
	\usepostamble\empty
	\file{golfer.eps}{\from{\jobname.dtx}{golfer}}
	\file{examples/hitbook/chinese/figures/golfer.eps}{\from{\jobname.dtx}{golfer}}
	\file{examples/hitbook/english/figures/golfer.eps}{\from{\jobname.dtx}{golfer}}
	\file{examples/hitart/reports/figures/golfer.eps}{\from{\jobname.dtx}{golfer}}
	\file{examples/hitart/reportplus/figures/golfer.eps}{\from{\jobname.dtx}{golfer}}
}

\ifToplevel{%
  \Msg{***********************************************************}
  \Msg{*}
  \Msg{* To finish the installation you have to move the following}
  \Msg{* files into a directory searched by TeX:}
  \Msg{*}
  \Msg{* The recommended directory is TEXMF/tex/latex/hithesis}
  \Msg{*}
  \Msg{* \space\space hithesisbook.cls}
  \Msg{* \space\space hithesisart.cls}
  \Msg{* \space\space hithesisartplus.cls}
  \Msg{* \space\space hithesisbook.cfg}
  \Msg{* \space\space hithesisart.cfg}
  \Msg{* \space\space hithesis.ist}
  \Msg{* \space\space hithesis.bst}
  \Msg{* \space\space hitszthesis.bst}
  \Msg{* \space\space hitlogo.eps}
  \Msg{* \space\space bthesistitle.eps}
  \Msg{* \space\space shenzhenbthesistitle.eps}
  \Msg{* \space\space figures/golfer.eps}
  \Msg{* \space\space zfb.eps}
  \Msg{*}
  \Msg{* To produce the documentation run the files ending with}
  \Msg{* `.dtx' through LaTeX.}
  \Msg{*}
  \Msg{* Happy TeXing!}
  \Msg{***********************************************************}}

\endbatchfile
